import error from '@/assets/images/error.jpg'
import { App } from 'vue'

export default {
    install(app: App) {
        app.directive('error', {
            mounted(el: HTMLImageElement) {
                el.src = error
            }
        })
    }
}